import CollapseTransition from 'element-ui/lib/transitions/collapse-transition';
import Vue from 'vue'
import {
    Pagination,
    Dialog,
    Collapse,
    CollapseItem,
    Progress,
    // Autocomplete,
    Breadcrumb,
    BreadcrumbItem,
    Dropdown,
    DropdownMenu,
    DropdownItem,
    Tag,
    Menu,
    Submenu,
    MenuItem,
    MenuItemGroup,
    Input,
    InputNumber,
    Radio,
    RadioGroup,
    RadioButton,
    Checkbox,
    CheckboxButton,
    CheckboxGroup,
    Select,
    Option,
    OptionGroup,
    Button,
    // ButtonGroup,
    Tooltip,
    Tabs,
    TabPane,
    Table,
    TableColumn,
    Timeline,
    TimelineItem,
    DatePicker,
    Popover,
    // Tooltip,
    Form,
    FormItem,
    Tree,
    Alert,
    Switch,
    // Slider,
    Rate,
    Icon,
    Row,
    Col,
    Upload,
    Card,
    Container,
    Header,
    Aside,
    Link,
    Main,
    Footer,
    Loading,
    MessageBox,
    Message,
    Notification,
    Image,
  } from 'element-ui'
  Vue.prototype.$ELEMENT = { size: 'small' }
  Vue.use(Pagination)
  Vue.use(Dialog)
  Vue.use(Collapse)
  Vue.use(CollapseItem)
  Vue.use(Progress )
  // Vue.use(Autocomplete)
  Vue.use(Breadcrumb);
  Vue.use(BreadcrumbItem);
  Vue.use(Dropdown)
  Vue.use(DropdownMenu)
  Vue.use(DropdownItem)
  Vue.use(Tag)
  Vue.use(Menu)
  Vue.use(Submenu)
  Vue.use(MenuItem)
  Vue.use(MenuItemGroup)
  Vue.use(Input)
  Vue.use(InputNumber)
  Vue.use(Radio)
  Vue.use(RadioGroup)
  Vue.use(RadioButton)
  Vue.use(Checkbox)
  Vue.use(CheckboxButton)
  Vue.use(CheckboxGroup)
  Vue.use(Select)
  Vue.use(Option)
  Vue.use(OptionGroup)
  Vue.use(Button)
  // Vue.use(ButtonGroup)
  Vue.use(Tooltip)
  Vue.use(Tabs);
  Vue.use(Rate);
  Vue.use(TabPane);
  Vue.use(Table)
  Vue.use(TableColumn)
  Vue.use(Timeline)
  Vue.use(TimelineItem)
  Vue.use(DatePicker)
  Vue.use(Popover)
  // Vue.use(Tooltip)
  Vue.use(Form)
  Vue.use(FormItem)
  Vue.use(Tree)
  Vue.use(Tag);
  Vue.use(Alert)
  // Vue.use(Slider)
  Vue.use(Switch)
  Vue.use(Icon)
  Vue.use(Row)
  Vue.use(Col)
  Vue.use(Upload)
  Vue.use(Card)
  Vue.use(Container)
  Vue.use(Header)
  Vue.use(Aside)
  Vue.use(Main)
  Vue.use(Footer)
  Vue.use(Link)
  Vue.use(Image);
  Vue.use(Loading.directive)
  Vue.component(CollapseTransition.name, CollapseTransition)
  
  Vue.prototype.$loading = Loading.service
  Vue.prototype.$msgbox = MessageBox
  Vue.prototype.$alert = MessageBox.alert
  Vue.prototype.$confirm = MessageBox.confirm
  Vue.prototype.$prompt = MessageBox.prompt
  Vue.prototype.$notify = Notification
  Vue.prototype.$message = Message